Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add Loc support and Form component #332

Conversation

dkilgore-eightfold
Copy link
Contributor

@dkilgore-eightfold dkilgore-eightfold commented Aug 27, 2022

SUMMARY:

Adds Form component, LocaleReceiver, LocaleProvider. Size, Validation, Disabled, and Shape contexts. Normalizes shapes, fixes a lot of CSS.

The video:
https://drive.google.com/file/d/1yGlmXsJnbHhgmfUN74IPYK5RZn9V72X6/view?usp=sharing

JIRA TASK (Eightfold Employees Only):

ENG-2792
ENG-2793
ENG-24252

CHANGE TYPE:

  • Bugfix Pull Request
  • Feature Pull Request

TEST COVERAGE:

  • Tests for this change already exist
  • I have added unittests for this change

TEST PLAN:

Pull the pr branch and do yarn and yarn storybook, verify all form stories.

# Conflicts:
#	src/components/Dialog/BaseDialog/BaseDialog.tsx
#	src/components/RadioButton/radio.module.scss
#	src/components/Select/Select.tsx
# Conflicts:
#	src/components/Button/button.module.scss
#	src/components/Select/Select.tsx
#	src/components/Select/Select.types.ts
#	src/src/components/Navbar/__snapshots__/Navbar.stories.storyshot
#	src/src/components/Pagination/__snapshots__/Pagination.stories.storyshot
#	src/src/components/Select/__snapshots__/Select.stories.storyshot
#	src/src/components/Table/__snapshots__/Table.stories.storyshot
#	yarn.lock
removes unnecessary button prop updates tests and fixes other bugs
# Conflicts:
#	src/components/Button/BaseButton.tsx
#	src/components/Button/button.module.scss
#	src/components/Inputs/input.module.scss
@codesandbox-ci
Copy link

codesandbox-ci bot commented Aug 29, 2022

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 7a6628a:

Sandbox Source
React Configuration
Vanilla Configuration

@codecov-commenter
Copy link

codecov-commenter commented Aug 29, 2022

Codecov Report

❗ No coverage uploaded for pull request base (main@ffa0373). Click here to learn what that means.
Patch has no changes to coverable lines.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #332   +/-   ##
=======================================
  Coverage        ?   89.43%           
=======================================
  Files           ?      481           
  Lines           ?    12988           
  Branches        ?     4368           
=======================================
  Hits            ?    11616           
  Misses          ?     1347           
  Partials        ?       25           

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

package.json Show resolved Hide resolved
src/components/Button/BaseButton.tsx Outdated Show resolved Hide resolved
src/components/Button/BaseButton.tsx Outdated Show resolved Hide resolved
src/components/Button/Button.stories.tsx Outdated Show resolved Hide resolved
src/components/ConfigProvider/ConfigProvider.tsx Outdated Show resolved Hide resolved
src/components/Form/Internal/OcField.tsx Show resolved Hide resolved
src/components/Form/Internal/OcFieldContext.ts Outdated Show resolved Hide resolved
src/components/Form/Internal/OcForm.types.ts Show resolved Hide resolved
src/components/Form/Styles/mixins.scss Outdated Show resolved Hide resolved
# Conflicts:
#	src/components/DateTimePicker/Internal/ocpicker.module.scss
#	src/components/Dialog/BaseDialog/BaseDialog.tsx
#	src/components/Label/Label.types.ts
#	src/components/Select/Select.tsx
#	src/components/Select/Select.types.ts
#	src/components/Select/select.module.scss
#	src/src/components/Select/__snapshots__/Select.stories.storyshot
#	src/src/components/Table/__snapshots__/Table.stories.storyshot
cleans up datepicker and selector styles to match latest figma
renames some props and moves them to the types file
@dkilgore-eightfold dkilgore-eightfold merged commit af2882f into EightfoldAI:main Sep 2, 2022
@darora-eightfold darora-eightfold mentioned this pull request Sep 6, 2022
4 tasks
@darora-eightfold
Copy link
Contributor

@dkilgore-eightfold Seems this PR is changing the radio sizes. This is breaking at multiple places across TA so reverting changes for radio label sizes in this PR

@darora-eightfold darora-eightfold mentioned this pull request Sep 6, 2022
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants